home *** CD-ROM | disk | FTP | other *** search
- Can anyone give me any pointers on the proper use of shutdown(skt,2)?
-
- WS_FTP had a problem with PC/TCP Winsock v1.10 in the use of this
- call. I'm not sure why I was using shutdown, other than all the books
- that I use, were doing the same thing. In any case, I have removed the
- call in WS_FTP version 94.02.08 and it now seems to work correctly.
-
- When do you use shutdown?
- What should it accomplish?
- Does closesocket do the same thing?
-
- I was using shutdown as I understood that it would ensure that any
- pending data would be handled correctly before the socket closed.
- Was I wrong?
-
- Thanks,
- John
- From davidtr@microsoft.com Tue Feb 8 11:25:00 1994
- Received: from netmail2.microsoft.com by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
- id AA16456; Tue, 8 Feb 1994 22:27:06 -0500
- Received: by netmail2.microsoft.com (5.65/25-eef)
- id AA06361; Tue, 8 Feb 94 19:27:57 -0800
- Received: by netmail2 using fxenixd 1.0 Tue, 08 Feb 94 19:27:57 PST
- Message-Id: <9402090325.AA27347@itgmsm>
- From: davidtr@microsoft.com
- To: winsock@sunsite.unc.edu
- Subject: RE: Passing open, connected sockets between programs in NT?
- Date: Tue, 08 Feb 94 19:25:00 PST
- X-Mailer: Microsoft Mail V3.0
-
-
-
-
- |From: netmail!John.MacFarlane@Software.com (John L. MacFarlane)
- |
- |Does anyone have any clues on how this is accomplished? I know that one can
- |use an open, connected socket as a file handle for ReadFileEx but how does
- |one pass the socket to another program?
- |
- |I have a "SERVER" program which creates the socket, binds, listens, and
- |accepts the connection. The idea is then to pass the socket to another
- program
- |for reading and writing but I cannot seem to get this to work.
- |
- |I tried passing the SOCKET (it is an int) between two processes but when
- the
- |second process tries to recv/send on the socket, it fails with an
- WSAENOTSOCK
- |error.
-
- it sounds like you may be creating the child process without specifying the
- fInheritHandles parameter on CreateProcess() as TRUE.
-
- davidtr@microsoft.com
- From news@bigblue.oit.unc.edu Wed Feb 9 04:32:18 1994
- Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
- id AA18549; Tue, 8 Feb 1994 23:36:59 -0500
- Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
- id AA13372; Tue, 8 Feb 1994 23:32:45 -0500
- Received: from GATEWAY by bigblue with netnews
- for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
- To: winsock@sunsite.unc.edu
- Date: 9 Feb 1994 04:32:18 GMT
- From: jeff@econ.berkeley.edu
- Message-Id: <2j9p0i$esb@agate.berkeley.edu>
- Organization: sometimes works
- Sender: ses
- Subject: WinQVT/Net
-
- I have been using WinQVT/Net v3.9. It is a nice package which
- needs some improvements and enhancements. Before I pay the
- registration fee, I would like to make sure that this software
- will continue to develop. How commited are QPC Software to
- the development of WinQVT? Is there a mailing list for users?
-
- On a related note, when I use the built in news reader, and when
- I use the thread reader, how do I neatly return to the main selection
- mode? I wind up having to delete all of the articles found by the
- thread search and then I am returned to the top of the main list
- of articles regardless of where I started the thread search.
-
- Jeff
- From news@bigblue.oit.unc.edu Tue Feb 8 15:27:17 1994
- Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
- id AA19463; Wed, 9 Feb 1994 00:06:57 -0500
- Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
- id AA15830; Tue, 8 Feb 1994 23:53:35 -0500
- Received: from GATEWAY by bigblue with netnews
- for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
- To: winsock@sunsite.unc.edu
- Date: 8 Feb 1994 21:27:17 -0600
- From: dalease@idss.nwa.com (David Lease)
- Message-Id: <2j9l6l$li1@guppy.idss.nwa.com>
- Organization: Northwest Airlines, Inc.
- Sender: ses
- References: <1994Feb8.080713.23607@aristo.tau.ac.il>
- Subject: Re: WINVN can't resolve hostname
-
- In article <1994Feb8.080713.23607@aristo.tau.ac.il>,
- Debby Koren <deb@radmail.rad.co.il> wrote:
- >
- >I tried running WINVN with both NetManage and Trumpet Winsock. In both cases,
- >it immediately gives a message that it can't resolve hostname. The hostname
- >of the news server is in the hosts table. A different newsreader has no
- >trouble connecting and reading news (and posting, as you can see). So what
- >could be the problem? I appreciate any ideas.
-
- We've had some of the same problems here...
-
- Our solution was basic. Make sure that DNS resolves in both directions
- (host and client). After working that out, we don't seem to have any
- problems.
-
- By the way, which version are you running? Vast differences between 0.62 and
- 0.80.
-
-
-
-